﻿@model OnlineStore.Models.ContactInfo

@{
    ViewBag.Title = "";
    Layout = "_Layout";
}

<h2>新建联系方式</h2>

<form asp-action="Create" method="post">
    <div class="form-group">
        <label asp-for="@Model.Name" class="col-2"></label>
        <input asp-for="@Model.Name" class="col-10">
    </div>
    <div class="form-group">
        <label asp-for="@Model.Address" class="col-2"></label>
        <input asp-for="@Model.Address" class="col-10">
    </div>
    <div class="form-group">
        <label asp-for="@Model.Phone" class="col-2"></label>
        <input asp-for="@Model.Phone" class="col-10">
    </div>
    <button type="submit" class="btn btn-primary">提交</button>
</form>